﻿using Domain.Models;
using System;
using System.Collections.Generic;

namespace Domain.SeedData
{
    public class InitDicts
    {
        public static IEnumerable<Dicts> InitData()
        {
            var dicts = new List<Dicts>();

            dicts.Add(new Dicts
            {
                Id = 1,
                Category = "SystemConfig",
                Name = "RootMenu",
                Value = "RootMenu",

                CreateBy = "System",
                CreateTime = DateTime.Now,
                UpdateBy = "System",
                UpdateTime = DateTime.Now,
            });

            dicts.Add(new Dicts
            {
                Id = 2,
                Category = "SystemConfig",
                Name = "IconUrl",
                Value = "//at.alicdn.com/t/font_1718503_1fgggozkybt.js",

                CreateBy = "System",
                CreateTime = DateTime.Now,
                UpdateBy = "System",
                UpdateTime = DateTime.Now,
            });

            return dicts;
        }

    }
}
